import { createApp } from 'vue'
import App from './App.vue'

import router from '@/router'
import pinia from '@/store'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'

import { setupDirective } from '@/directive'

const app = createApp(App)

// 注册全局指令
setupDirective(app)

app.use(pinia)
app.use(ElementPlus)
app.use(router).mount('#app')
